package com.example.easybuy.service;

import com.example.easybuy.entity.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AddressService {
    boolean addAddress(Map<String ,Object> map);
    boolean update(Map<String ,Object> map);
    boolean delAddress(Map<String ,Object> map);
    List<Address> selectAll(Map<String ,Object> map);
    Address findAddress(int id);
    boolean updateIsDefault(int id);

}
